.class public Lcom/ninesky/browser/user/RegisterActivity;
.super Landroid/app/Activity;

# interfaces
.implements Landroid/view/View$OnClickListener;
.implements Lcom/ninesky/a/a/a;


# instance fields
.field private final a:Ljava/lang/String;

.field private final b:Z

.field private c:Landroid/widget/Button;

.field private d:Landroid/widget/Button;

.field private e:Landroid/app/ProgressDialog;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/widget/EditText;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/EditText;

.field private j:Lcom/ninesky/browser/a/k;

.field private k:Landroid/os/Handler;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    const-string v0, "NSBrowser.RegisterActivity"

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->a:Ljava/lang/String;

    const/4 v0, 0x0

    iput-boolean v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->b:Z

    new-instance v0, Lcom/ninesky/browser/user/a;

    invoke-direct {v0, p0}, Lcom/ninesky/browser/user/a;-><init>(Lcom/ninesky/browser/user/RegisterActivity;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->k:Landroid/os/Handler;

    return-void
.end method

.method private a(Landroid/widget/EditText;I)V
    .locals 1

    if-eqz p1, :cond_0

    invoke-virtual {p0, p2}, Lcom/ninesky/browser/user/RegisterActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v0

    invoke-virtual {p1, v0}, Landroid/widget/EditText;->setError(Ljava/lang/CharSequence;)V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/ninesky/browser/user/RegisterActivity;)V
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->dismiss()V

    :cond_0
    return-void
.end method

.method static synthetic b(Lcom/ninesky/browser/user/RegisterActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/ninesky/browser/user/RegisterActivity;->c()V

    return-void
.end method

.method static synthetic c(Lcom/ninesky/browser/user/RegisterActivity;)Lcom/ninesky/browser/a/k;
    .locals 1

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    return-object v0
.end method

.method private c()V
    .locals 2

    invoke-virtual {p0}, Lcom/ninesky/browser/user/RegisterActivity;->finish()V

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/g;->a(Landroid/view/View;)V

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v0, v1}, Lcom/ninesky/browser/user/g;->a(Landroid/view/View;)V

    return-void
.end method

.method static synthetic d(Lcom/ninesky/browser/user/RegisterActivity;)V
    .locals 1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    return-void
.end method


# virtual methods
.method public final a()V
    .locals 4

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/k;->d()Lcom/ninesky/a/a/e;

    move-result-object v0

    check-cast v0, Lcom/ninesky/browser/a/p;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/p;->h()Ljava/lang/String;

    move-result-object v1

    if-nez v1, :cond_0

    const-string v1, ""

    :cond_0
    new-instance v2, Landroid/os/Message;

    invoke-direct {v2}, Landroid/os/Message;-><init>()V

    const-string v3, "0"

    invoke-virtual {v1, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v3

    if-eqz v3, :cond_1

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v1

    iget-object v3, p0, Lcom/ninesky/browser/user/RegisterActivity;->f:Landroid/widget/TextView;

    invoke-virtual {v3}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v3

    invoke-interface {v3}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v3}, Lcom/ninesky/browser/user/g;->d(Ljava/lang/String;)V

    invoke-virtual {v0}, Lcom/ninesky/browser/a/p;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/ninesky/browser/user/g;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/ninesky/browser/user/g;->e(Ljava/lang/String;)V

    const/16 v0, 0x64

    iput v0, v2, Landroid/os/Message;->what:I

    :goto_0
    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->k:Landroid/os/Handler;

    invoke-virtual {v0, v2}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void

    :cond_1
    const/16 v0, 0xc8

    iput v0, v2, Landroid/os/Message;->what:I

    iput-object v1, v2, Landroid/os/Message;->obj:Ljava/lang/Object;

    goto :goto_0
.end method

.method public final b()V
    .locals 2

    new-instance v0, Landroid/os/Message;

    invoke-direct {v0}, Landroid/os/Message;-><init>()V

    const/16 v1, 0x12c

    iput v1, v0, Landroid/os/Message;->what:I

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->k:Landroid/os/Handler;

    invoke-virtual {v1, v0}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 7

    const/4 v4, 0x1

    const/4 v6, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v1}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v1

    invoke-interface {v1}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v2

    const/4 v3, 0x6

    if-ge v2, v3, :cond_2

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    const v1, 0x7f070019

    invoke-direct {p0, v0, v1}, Lcom/ninesky/browser/user/RegisterActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    :goto_1
    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/k;->i()V

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->f:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getText()Ljava/lang/CharSequence;

    move-result-object v0

    invoke-interface {v0}, Ljava/lang/CharSequence;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/ninesky/browser/user/j;

    invoke-direct {v1}, Lcom/ninesky/browser/user/j;-><init>()V

    invoke-virtual {v0}, Ljava/lang/String;->getBytes()[B

    move-result-object v0

    invoke-virtual {v1, v0}, Lcom/ninesky/browser/user/j;->a([B)Ljava/lang/String;

    move-result-object v3

    const-string v4, "0"

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v0

    invoke-interface {v0}, Landroid/text/Editable;->toString()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v5

    new-instance v0, Lcom/ninesky/browser/a/k;

    move-object v1, p0

    invoke-direct/range {v0 .. v5}, Lcom/ninesky/browser/a/k;-><init>(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    invoke-virtual {v0, p0}, Lcom/ninesky/browser/a/k;->a(Lcom/ninesky/a/a/a;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->j:Lcom/ninesky/browser/a/k;

    invoke-virtual {v0}, Lcom/ninesky/browser/a/k;->h()V

    new-instance v0, Landroid/app/ProgressDialog;

    invoke-direct {v0, p0}, Landroid/app/ProgressDialog;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v6}, Landroid/app/ProgressDialog;->setProgressStyle(I)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v6}, Landroid/app/ProgressDialog;->setIndeterminate(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0, v6}, Landroid/app/ProgressDialog;->setCancelable(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    const v1, 0x7f07002a

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/user/RegisterActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setMessage(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    new-instance v1, Lcom/ninesky/browser/user/b;

    invoke-direct {v1, p0}, Lcom/ninesky/browser/user/b;-><init>(Lcom/ninesky/browser/user/RegisterActivity;)V

    invoke-virtual {v0, v1}, Landroid/app/ProgressDialog;->setOnCancelListener(Landroid/content/DialogInterface$OnCancelListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->show()V

    :cond_1
    const-string v0, "Register"

    const-string v1, "Register"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :cond_2
    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    const/16 v2, 0x14

    if-le v0, v2, :cond_3

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    const v1, 0x7f070018

    invoke-direct {p0, v0, v1}, Lcom/ninesky/browser/user/RegisterActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :cond_3
    invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-eqz v0, :cond_4

    move v0, v4

    goto/16 :goto_1

    :cond_4
    sget-object v0, Lcom/ninesky/a/e;->b:Ljava/util/regex/Pattern;

    invoke-virtual {v0, v1}, Ljava/util/regex/Pattern;->matcher(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/regex/Matcher;->matches()Z

    move-result v0

    if-eqz v0, :cond_5

    move v0, v4

    goto/16 :goto_1

    :cond_5
    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    const v1, 0x7f07002d

    invoke-direct {p0, v0, v1}, Lcom/ninesky/browser/user/RegisterActivity;->a(Landroid/widget/EditText;I)V

    move v0, v6

    goto/16 :goto_1

    :sswitch_1
    invoke-direct {p0}, Lcom/ninesky/browser/user/RegisterActivity;->c()V

    const-string v0, "Register"

    const-string v1, "Back"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_2
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/ninesky/browser/user/LoginActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->startActivity(Landroid/content/Intent;)V

    invoke-direct {p0}, Lcom/ninesky/browser/user/RegisterActivity;->c()V

    const-string v0, "Register"

    const-string v1, "LoginWithOtherID"

    invoke-static {p0, v0, v1}, Lcom/mobclick/android/c;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto/16 :goto_0

    :sswitch_data_0
    .sparse-switch
        0x7f0c0033 -> :sswitch_1
        0x7f0c0050 -> :sswitch_2
        0x7f0c0051 -> :sswitch_0
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4

    const/4 v1, 0x3

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    invoke-virtual {p0, v1}, Lcom/ninesky/browser/user/RegisterActivity;->requestWindowFeature(I)Z

    const v0, 0x7f03001d

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->setContentView(I)V

    const v0, 0x7f02002c

    invoke-virtual {p0, v1, v0}, Lcom/ninesky/browser/user/RegisterActivity;->setFeatureDrawableResource(II)V

    const v0, 0x7f0c0051

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->c:Landroid/widget/Button;

    const v0, 0x7f0c0033

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/Button;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->d:Landroid/widget/Button;

    const v0, 0x7f0c004e

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->f:Landroid/widget/TextView;

    const v0, 0x7f0c0031

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    const v0, 0x7f0c0050

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->h:Landroid/widget/TextView;

    const v0, 0x7f0c004f

    invoke-virtual {p0, v0}, Lcom/ninesky/browser/user/RegisterActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    iput-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-static {}, Lcom/ninesky/browser/user/g;->c()Lcom/ninesky/browser/user/g;

    move-result-object v0

    invoke-virtual {v0}, Lcom/ninesky/browser/user/g;->b()Ljava/lang/String;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->f:Landroid/widget/TextView;

    invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "<u>"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const v3, 0x7f070020

    invoke-virtual {p0, v3}, Lcom/ninesky/browser/user/RegisterActivity;->getText(I)Ljava/lang/CharSequence;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/CharSequence;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string v3, "</u>"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, p0, Lcom/ninesky/browser/user/RegisterActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;

    move-result-object v1

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/a/k;->f()Z

    move-result v0

    if-eqz v0, :cond_0

    const/4 v0, 0x1

    :goto_0
    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->c:Landroid/widget/Button;

    invoke-virtual {v1, v0}, Landroid/widget/Button;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->g:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setFocusable(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setEnabled(Z)V

    iget-object v1, p0, Lcom/ninesky/browser/user/RegisterActivity;->i:Landroid/widget/EditText;

    invoke-virtual {v1, v0}, Landroid/widget/EditText;->setFocusable(Z)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->c:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void

    :cond_0
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1

    packed-switch p1, :pswitch_data_0

    :cond_0
    :goto_0
    invoke-super {p0, p1, p2}, Landroid/app/Activity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    return v0

    :pswitch_0
    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/user/RegisterActivity;->e:Landroid/app/ProgressDialog;

    invoke-virtual {v0}, Landroid/app/ProgressDialog;->cancel()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x4
        :pswitch_0
    .end packed-switch
.end method

.method protected onPause()V
    .locals 0

    invoke-super {p0}, Landroid/app/Activity;->onPause()V

    invoke-static {p0}, Lcom/mobclick/android/c;->a(Landroid/content/Context;)V

    return-void
.end method

.method protected onResume()V
    .locals 0

    invoke-super {p0}, Landroid/app/Activity;->onResume()V

    invoke-static {p0}, Lcom/mobclick/android/c;->b(Landroid/content/Context;)V

    return-void
.end method
